package com.dhy.service;

import com.dhy.pojo.Department;
import com.dhy.pojo.Employee;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface IEmployeeService extends IBaseService<Employee>{

    //查询员工及其所属部门信息
    Employee selectByWithDepartment(Long id);
    //查询某个部门的所有员工信息
    List<Employee> selectByDepartmentId(Long departmentId);
}
